//vue-cli配置文件

const path = require('path');

module.exports = {
    devServer: {
        proxy: {
            '/api': {
                target: 'http://localhost:7001',
            },
        },
        build: {
            index: path.resolve(__dirname, './dist/index.html'),
            assetsRoot: path.resolve(__dirname, './dist'),
            assertsSubDirectory: './static',
            assertsPublicPath: './',
        }
    },
    
};